<?php

namespace common\models\linkedcare;

use Yii;

/**
 * This is the model class for table "{{%kq_linkedcare_auth}}".
 *
 * @property int $id
 * @property string $client_id
 * @property string $access_token
 * @property string|null $create_at
 */
class LinkedcareAuth extends \common\models\base\BaseModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%kq_linkedcare_auth}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['create_at'], 'safe'],
            [['client_id'], 'string', 'max' => 255],
            [['access_token'], 'string', 'max' => 500],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'client_id' => 'Client ID',
            'access_token' => 'Access Token',
            'create_at' => 'Create At',
        ];
    }
}
